home *** CD-ROM | disk | FTP | other *** search
- Hi again,
-
- Its a pain that DDT does not debug utilities or modules!
- This program creates a little environment for them so
- you can debug them under DDT. There are a few points
- to note:
-
- Modules : Only the Initilaise code and Start code
- entry points are called. This is really
- for wimp modules that use start code, but
- may have other uses.
-
- Init called with :
- r10 = ptr to parameters
- r11 = #0
- r12 = ptr to 4 byte workspace
- r13 = supervisior stack
- r14 = return address
- Processor in SVC mode
-
- Start called with :
- r0 = ptr to *command
- r12 = ptr to 4 byte workspace
- Processor in USR mode
-
- Utils : This one doesn't always work, utilities that
- call OS_ReadArgs and other SWIs come back
- with V set. I don't know why, but if anyone
- would like to change the program, please
- mail it back to me. Also R0 does point to
- utility name, (OS_GetEnv does not return it)
-
- Called with
- r0 = ptr to tail of * command
- r1 = r0
- r12 = ptr to workspace
- r13 = ptr to stack (r12+1024)
- r14 = return address
- Processor in USR mode
-
- Please email with any suggestions/hints/new program!
- You can contact me at :
-
- cs2du@hatfield.ac.uk (until 1/8/92)
-
- or
-
- 14 Walcot Ave
- Luton
- Beds
- LU2 0PW (until 1/8/92)
-
- or
-
- Budapest 1119
- Allendpark 5,I,5
- Hungary (from 2/8/92)
-
- This program is PD, but I claim the copyright over
- any files contained within the this directory,
- and the source code. The program can be passed on,
- but must be passed on complete, and this includes
- info-servers, bbs, and PD libraries. NO CHARGE should
- be made for this program. Like almost any computer program,
- this program may contain minor bugs which should not affect
- the general running of the program, but may crop up
- occasionally due to unforeseen circumstances (e.g.
- running on hardware/software/OS versions not the same
- as the author's or under certain conditions not yet tested
- by the author). Users are encouraged to send any bug reports
- to the author at the address specified earlier, but the
- author is NOT liable for any problems (disk crashes, hung
- machines and the such like) that may arise from these bugs.
- This stems from the fact that the software is FREE and cannot
- be guaranteed to be 100% bug-free. However, the author
- will always fix any reported bugs and release a fresh
- version of this if the bug was serious enough.
-